package com.olive.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;

@Controller
public class HomeController {
	@GetMapping("/home")
	public String home() {
		return "home";
	}

	@GetMapping("/error")
	public String error() {
		return "error";
	}
	
	@GetMapping("/toLogin")
	public String toLogin() {
		return "login";
	}
	
}
